<template>
 <div>
  <el-descriptions :column="1" border>
    <el-descriptions-item :label="$t('序列号')"> {{ data[0].ser }}</el-descriptions-item>
    <el-descriptions-item :label="$t('采购时间')">{{ data[0].purchaseTime }}</el-descriptions-item>
    <el-descriptions-item :label="$t('入库时间')">{{ data[0].inWarehouseTime }}</el-descriptions-item>
    <el-descriptions-item :label="$t('报废时间')">{{ data[0].outWarehouseTime }}</el-descriptions-item>
  </el-descriptions>
 </div>
</template>
<script>
export default {
  activated() {},
  props: {
    /**
     * data
     */
    data: {
      type: Array,
      default: () => [],
    },
  },
  data() {
    return {}
  },
  computed: {},
  methods: {
    handleSum(param) {},

    cancel() {
      this.$emit('update:show', false)
    },
  },
}
</script>
<style lang="scss" scoped></style>
